package com.lonely.inventory.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lonely.inventory.domain.dto.surplus.SurplusInventoryPageQueryDto;
import com.lonely.inventory.domain.entity.SysSurplusInventory;
import com.lonely.inventory.domain.vo.surplus.SurplusInventoryPageQueryVo;
import org.apache.ibatis.annotations.Param;

/**
 * @author : 黄志标
 * @date: 2025/9/19 10:02
 * @description: 尾货库存mapper
 */
public interface SysSurplusInventoryMapper extends BaseMapper<SysSurplusInventory> {

    /**
     * 分页查询
     *
     * @param page
     * @param queryDto
     * @return
     */
    Page<SurplusInventoryPageQueryVo> page(Page<SurplusInventoryPageQueryVo> page, @Param("query") SurplusInventoryPageQueryDto queryDto);
}
